package com.unohacha.qqj.fzdr.bean.homebean;

import java.util.List;

/**
 * 物资行情标题
 */

public class HomeAppMaterialCateBean {

    /**
     * code : 1
     * message : 请求成功
     * data : [{"id":57,"name":"原料行情","two":[{"id":114,"name":"特种纱","three":[{"id":115,"name":"特种纱下级"}]},{"id":106,"name":"长丝","three":[{"id":116,"name":"长丝下级"}]},{"id":107,"name":"短纤","three":[{"id":113,"name":"短纤下级"}]},{"id":108,"name":"雪尼尔","three":[{"id":117,"name":"雪尼尔下级"}]},{"id":110,"name":"其他纱线","three":[{"id":118,"name":"其他纱线下级"}]}]},{"id":59,"name":"设备行情","two":[{"id":100,"name":"纺织设备","three":[{"id":102,"name":"细绒棉"},{"id":101,"name":"棉花"}]},{"id":103,"name":"印染设备","three":[]},{"id":104,"name":"辅助设备","three":[]},{"id":105,"name":"其他设备","three":[]}]}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 57
         * name : 原料行情
         * two : [{"id":114,"name":"特种纱","three":[{"id":115,"name":"特种纱下级"}]},{"id":106,"name":"长丝","three":[{"id":116,"name":"长丝下级"}]},{"id":107,"name":"短纤","three":[{"id":113,"name":"短纤下级"}]},{"id":108,"name":"雪尼尔","three":[{"id":117,"name":"雪尼尔下级"}]},{"id":110,"name":"其他纱线","three":[{"id":118,"name":"其他纱线下级"}]}]
         */

        private int id;
        private String name;
        private List<TwoBean> two;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<TwoBean> getTwo() {
            return two;
        }

        public void setTwo(List<TwoBean> two) {
            this.two = two;
        }

        public static class TwoBean {
            /**
             * id : 114
             * name : 特种纱
             * three : [{"id":115,"name":"特种纱下级"}]
             */

            private int id;
            private String name;
            private List<ThreeBean> three;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<ThreeBean> getThree() {
                return three;
            }

            public void setThree(List<ThreeBean> three) {
                this.three = three;
            }

            public static class ThreeBean {
                /**
                 * id : 115
                 * name : 特种纱下级
                 */

                private int id;
                private String name;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }
        }
    }
}
